Added heap_sort
Added namespaces, and set warning levels