added parallel_map
added some preliminary tests
add parallel map capability