move function prototype to separate file
pretty print
in place merge sort