selection sort

added a selection sort, and because it was so much faster added a sleep
to make the updates visible