Assignment solutions for CS III (Java)