Assignment 3 Coursework - Programming in Java