First year java project