Work done in my AP Computer Science class.