Add solution to problem 193