Double brackets `transform`: Handling complex nested brackets

Taking this file transform/double_brackets.go, we can handle uses of array.

It will change G2PState[4][2] to G2PState[4+2].

But taking this example:

my_array[my_second_array[2]]

The transform does not handle it yet.

Edited by Hugo Moreau