Added 10 exercises to Java