allow coordinate to choose a random direction.