Java Coursework CS2310