Simple lexer for prolog, which I made for a school lecture, not finished..