Update progress.java

Working solution