Add selection sort

Hi,
Thanks for sharing your code, it's helpful.
I thought I'd implement [selection sort](http://en.wikipedia.org/wiki/Selection_sort) before the bubble sort code. Hope you like it.