An old java project provided for assignment 3