started on chapter 5
also started using code::blocks