solution to problem 23
solution to problem 24
solution to 41
solution to 122