Promote search & search_n as parallel algorithms

Fixes #5