Restructuring so I could add code from second semester of AP Computer Science, which has more interesting applications