Debugging tools improved, bug fixed.

Function definitions are now working.
Implemented %printer in parser.y