Go program for Euler project puzzle 1