Added a java version of exercise 3