Random heights

first draft of the random heights function