Finished exercises 1.11, 1.12, 1.13