add solution to problem 82