Added 8 exercises to java