Minor changes.
Added heap sort.
Wikipedia links.