private void insertEllipse(boolean[][] map, int row, int col, int width, int height)
    {
        for (int r = Math.max(0, row - height / 2); r < Math.min(row + height / 2, map.length); r++)
        {
            for (int c = Math.max(0, col - width / 2); c < Math.min(col + width / 2, map[r].length); c++)
            {
                if (isCoveringPoint(r, c, row, col, width, height))
                {
                    map[r][c] = true;
                }
            }
        }
    }