misc
fixed compile errors
mergesort complete