rotate

function rotate(default_locations: list<location>, rotation: grid_rotation): list<location>