Added coding exercises for Java