Implemented scanner without relational operators successfully