Adding code for Selection and Insertion sorting