Ten.java project for the contest