Implemented Selection sort and unit tests for it