Implemented interpreter classes and integrated them with the grammar
file.