Pull request for 99 problems in Erlang implementation

Feature branch for #1 (problems from 21st to 25th).