Simple tasks to learn Java