initial commit of erlang example file skeleton, and overview of algo