Given a direction, returns this direction and its adjacent directions.
the direction value.
Returns the range of the given direction.
Given a direction, returns this direction and its adjacent directions.