Tasks for Java course