Function offsetCardinals

Returns cells that correspond to the cardinal directions at a specified distance i.e. it projects a line from start cell in all cardinal directions and returns the cells at steps distance.