finished problem 16
accepted prob 15 to continue working on it