Mixed Erlang execersice solutions