Implementation of skip list