Added initial test suite and edited selection sort to return list