Improved Erlang parallel version

I detected a failure in the Erlang code and I tried to "improve" the code. The time result it's almost identical: it's still better the "serial" version