Work done so far in Java