HW2, question1 complete, question2 tested and ready to run on Amazon web services