Erlang exercises with answers