Implementation of SkipList data structure in java