Added methods for insertion sort and quick sort.