Make output a little nicer.

* Print GlobalVar (with value index)
* Print Function with value index
* Use repr instead of str
* Instruction prints its value index
* Add output for switch instruction
Add Cmp ops