fixing more issues in yacc and traverse, if-elif-else and singular, should all be mostly working, indentation issues still persisting