func identifyGridOccupation(grid [][]uint8) map[uint8]int {
	m := make(map[uint8]int)
	cols := len(grid[0])
	rows := len(grid)

	for x := 0; x < cols; x++ {
		for y := 0; y < rows; y++ {
			m[grid[y][x]]++
		}
	}
	return m
}
// calculate a map of how often elements in the grid occur in total
calculate a map of how often elements in the grid occur in total
// calculate a map of how often elements in the grid occur in total
func identifyGridOccupation(grid [][]uint8) map[uint8]int {
	m := make(map[uint8]int)
	cols := len(grid[0])
	rows := len(grid)
	for x := 0; x < cols; x++ {
		for y := 0; y < rows; y++ {
			m[grid[y][x]]++
		}
	}
	return m
}
func identifyGridOccupation ( grid [ ] [ ] uint8 ) map [ uint8 ] int { m := make ( map [ uint8 ] int ) cols := len ( grid [ 0 ] ) rows := len ( grid ) for x := 0 ; x < cols ; x ++ { for y := 0 ; y < rows ; y ++ { m [ grid [ y ] [ x ] ] ++ } } return m }
calculate a map of how often elements in the grid occur in total
calculate a map of how often elements in the grid occur in total