added tests, started counting sort
Merge branch 'sam'