Solution to 8.1

My apologies this commit is a mess

The main part of this commit is students/johnfahey/assignment8.1/main.js