Just some practice erlang exercises