Update Parser.cpp

Added quite a few comments. Also rearranged code A LOT in terms of white spacing and grouping of relevant parts. I also tried to verify the correctness of the code as best I could. There wasn't really an area I didn't understand. Aside from formatting, this is excellent - fantastic work Zach.