Resuls for Q1
Result file
Initial stab at question 2
Fixed up question 1
Make sure the file is good, rather than look for eof
Try to be clever and use C++11 features