fixing bug with accessing elements other than ints
Bytecode printer + fixed for

* added a bytecode printer
* fixed bug with nested for loops