Implemented solution to problem 1.5. Implemented application/driver for problem 1.5.