Add example code of selection sort