Problems for Core-Java course