changes to walker code generation --no need to make it exactly like antlrs. This is fine
added the visitor for the ast