added docstrings and more tests for SortedList