refactored selection sort
refactored selection sort using 2 for loops
Merge pull request #4 from adowns01/selection-sort

refactored selection sort to use 2 for loops