Added 2 exercises to Java