Add new Go implementation

Here is my Go implementation of e3656ad493400895f4460f1244a25f8f8e31a32a.