added three sort algorithms