Made some changes to file, but at the moment Q4 logic is not working.
Hog revisions added.
yay! took out the while loop in question 1.