Added random choice function.