public void FillVertex()
    {
        int y = 0;
        int x = 0;
        i = 0;
        testMap();

        while (x < 22)
        {
            //System.out.println("x: "+ x);
            //System.out.println("y: "+ y);
            while (y < 22)
            {
                house = map.returnLocation(x, y);
                if(map.checkPositioning(house).RoadCheck())
                {
                    //if (!house.ifChecked())
                    //{
                    verticesFull[x][y] = i;
                    Vertex temp = new Vertex(y + " || " + x, x, y);
                    //System.out.println("Vertex i" +i + " x=" + x + " y=" + y);
                    //house.Checked();
                    vertices[i] = temp;
                    i++;
                    //}
                }
                else 
                //if (check == false)
                {
                    verticesFull[x][y] = 999;
                }
                y++;
            }
            y = 0; 
            x++;
        }

        FillEdges();

        while (x < 22)
        {
            while (y < 22)
            {
                house = map.returnLocation(x, y);
                house.unCheck();
                y++;
            }
            y = 0; 
            x++;
        }
    }