working maps
Parallel algo working