Add solution to problem 104.