Finished the assignment

This is the finished version of the first assignment.