Parser now working, need to add if then else statements and work out bugs in the parser