makefile: make debug a default

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
add support for mergesort

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
mergesort: remove unnecessary array print
mergesort: fix sorting for non-power-of-two number of elements