Euler 183 solution in Go