Practicing different sorting algorithms