Go

Added a Go implementation as per #6.