started testing syntax analyser

fixed also bug on parser and syntax analyser