This code and some of the questions are by the original creator who is at the top. All code credit goes to him. This was for school.