Correct parseFactor
Originally forgot to go to next token in parseFactor ( method resulting in infinite recursion.
Working on prettyprinting now.