A simple lexer written in Go