Added rand function to language doc