Algorithm For Selection And Insertion Sort