fixed lots of bugs in Skiplist.cpp