Create server.erl

Code from Ch5 of OReilly Erlang Programming. Used in later exercises as a template