Weather Statistics Calculator + Refactored Code