Mod: use bison instead of yacc
Mod: passed the provided test file