Updates Power.java

Project developed in Java