Added comments to parser code

Added comments to parser code to help explain what was going on. Also
inserted some TODO's to work on before we turn it in.