Implementation of SkipList in java