added if list is identical to B test function
- moved isList into sort.cpp
- double check if all sorts are performing correctly