APCS Homework