added the random height and add function for skip lists