Implement random() and using functions as parameters.