solution in erlang
cleanup
Merge pull request #2 from amanshin/master

Solution in Erlang