C++/SkipList: Refactor