A simple learning switch controller implemented in Erlang