school project in java