A learning exercise in Erlang which checks wind direction for my cycle commute