version 1 - not working
basic patience sort
Merging iterator