Added selection sort + tests