Finished almost everything except the debug for question 1