Edited parser

Changed types, removed parenthesis
Edited ast

Added section for types