Update WeatherAlg.java

weather algortihm works