3rd Commit

First draft of code containing all the answers.