Basic things in java to practice the language