for ( int y = 0; y < maxY; y++ ){ grid.add(new Coords(startX,y)); }
Coords coords = new Coords(startX,-1); int roadStyle = r.nextInt(2) + 1; buildStraightRoad(board, coords, S, roadStyle, grid);
    private static HashSet<Coords> buildGridCity(int maxX, int maxY,int roads){        HashSet<Coords> grid = new HashSet<Coords>();                Random r = new Random(System.currentTimeMillis());        //north south lanes first        for( int y = 0; y < roads; y++){            int startY = r.nextInt(maxY/roads)+(y*(maxY/roads));            for ( int x = 0; x < maxX; x++){                grid.add(new Coords(x,startY));            }                        }                for ( int x = 0; x < roads; x++){            int startX = r.nextInt(maxX/roads)+(x*(maxX/roads));            for ( int y = 0; y < maxY; y++ ){                grid.add(new Coords(startX,y));            }        }                return grid;    }