Generates a random gate when a real life gate is occupied.