parser was returning a program when it should have been a StatementList