Google Code Jam and other algo problems in Go