Create weighted_random.php