Edited parser and ast

Changed program organization(parser and sat); removed game type, made
program type larger (parser and ast); changed method of return from
each section (parser)