Code written for my high school AP Computer Science II class.