added selection sort. added doc strings for sorting functions