added some sorting algorithm examples and tests