Parser parse method implemented. Lexer now acts a a stream