Solution to Chapter 1 Questions 1 through 6 added

Solution to the following problems added along with the unit tests
written for them:
Chapter 1: Questions 1 through 6.