Class work in my AP computer science class.