added prob 20 solution