Simple parallel data processing in erlang