Initial Erlang implementation

This is my first attempt at an Erlang implementation for the shootout.  I'll be playing around with the code some more to get it much faster and also to stop dropping packets.