Finishing exercises 12.2.4

* Finished exercises 12.2.4, 1 through 4