for practising coding in java