Added first (unfinished) Go implementation.

Changed example to use real implementation. It should actually work as is.