solution to project euler in golang