power plant java program in eclipse on the following requirements