basic parser and code gen passing 5 test cases