Updated Go solution to problem 83