finished intial map implementation of parallel process