some basic exercises to training logic and general java