Edited the Semant.java class to use file input instead of console input.
It currently outputs the exact same output as ParserTest.java, because
the .semant() methods have not been defined for each case in CoolTree.