Created method calculate() in snow_day.java