added algorithms dir and mergesort example