Exercises and examples created for Java course