Minimal implementation in Go.

Hacky and probably not a good implementation, but my first experience programming in Go. It was a
bit frustrating, tbh.