Course project 1

First three parts of course project 1