A simple lexical analyzer written in Go