Completed code for problem 6 and added comments that label all 12 problems better.