completed 1.2
finished exercises from sections 1.1.6