Added solutions to 16, 17, and 18