add solutions to exercises from 1.14 to 1.19