My solutions to the erlang exercises