Updated Go solution to problem 15