Add Matt_Phil_Erlang

Hey

Here's our (mainly Matt's :) Erlang version.  I'll try and add more comments as I want to go over it again.

Thanks

Phil