installed gems and wrote rspec tests for selection sort