public void createGrids() {
		
		main_grid = new CPaintList();
		main_grid.addRectangle("1:1", 216, 152, 5, 64, CPaintList.FILLED, color_bg); //First Row
		main_grid.addRectangle("1:2", 285, 152, 5, 64, CPaintList.FILLED, color_bg); //First Row
		                 
		main_grid.addRectangle("2:1", 152, 216, 64, 5, CPaintList.FILLED, color_bg); //Second Row
		main_grid.addRectangle("2:2", 216, 216, 5, 5, CPaintList.FILLED, color_bg);  //Second Row
		main_grid.addRectangle("2:3", 221, 216, 64, 5, CPaintList.FILLED, color_bg); //Second Row
		main_grid.addRectangle("2:4", 285, 216, 5, 5, CPaintList.FILLED, color_bg);  //Second Row
		main_grid.addRectangle("2:5", 290, 216, 64, 5, CPaintList.FILLED, color_bg); //Second Row
		                                       
		main_grid.addRectangle("3:1", 216, 221, 5, 64, CPaintList.FILLED, color_bg); //Third Row
		main_grid.addRectangle("3:2", 285, 221, 5, 64, CPaintList.FILLED, color_bg); //Third Row
		                                      
		main_grid.addRectangle("4:1", 152, 285, 64, 5, CPaintList.FILLED, color_bg); //Fourth Row
		main_grid.addRectangle("4:2", 216, 285, 5, 5, CPaintList.FILLED, color_bg);  //Fourth Row
		main_grid.addRectangle("4:3", 221, 285, 64, 5, CPaintList.FILLED, color_bg); //Fourth Row
		main_grid.addRectangle("4:4", 285, 285, 5, 5, CPaintList.FILLED, color_bg);  //Fourth Row
		main_grid.addRectangle("4:5", 290, 285, 64, 5, CPaintList.FILLED, color_bg); //Fourth Row
		                                       
		main_grid.addRectangle("5:1", 216, 290, 5, 64, CPaintList.FILLED, color_bg); //Fifth Row
		main_grid.addRectangle("5:2", 285, 290, 5, 64, CPaintList.FILLED, color_bg); //Fifth Row
		
		//Sub grids
		sub_grids = new CPaintList();
		
		//Right face
		sub_grids.addRectangle("R:hor1", 379, 234, 102, 3, CPaintList.FILLED, color_bg);
		sub_grids.addRectangle("R:hor2", 379, 269, 102, 3, CPaintList.FILLED, color_bg);
		sub_grids.addRectangle("R:ver1", 411, 202, 3, 102, CPaintList.FILLED, color_bg);
		sub_grids.addRectangle("R:ver2", 446, 202, 3, 102, CPaintList.FILLED, color_bg);
		                   
		//Back face        
		sub_grids.addRectangle("B:hor1", 506, 234, 102, 3, CPaintList.FILLED, color_bg);
		sub_grids.addRectangle("B:hor2", 506, 269, 102, 3, CPaintList.FILLED, color_bg);
		sub_grids.addRectangle("B:ver1", 538, 202, 3, 102, CPaintList.FILLED, color_bg);
		sub_grids.addRectangle("B:ver2", 573, 202, 3, 102, CPaintList.FILLED, color_bg);
		                    
		//Left face         
		sub_grids.addRectangle("L:hor1", 25, 234, 102, 3, CPaintList.FILLED, color_bg);
		sub_grids.addRectangle("L:hor2", 25, 269, 102, 3, CPaintList.FILLED, color_bg);
		sub_grids.addRectangle("L:ver1", 57, 202, 3, 102, CPaintList.FILLED, color_bg);
		sub_grids.addRectangle("L:ver2", 92, 202, 3, 102, CPaintList.FILLED, color_bg);
		                   
		//Up face          
		sub_grids.addRectangle("U:hor1", 202, 57, 102, 3, CPaintList.FILLED, color_bg);
		sub_grids.addRectangle("U:hor2", 202, 92, 102, 3, CPaintList.FILLED, color_bg);
		sub_grids.addRectangle("U:ver1", 234, 25, 3, 102, CPaintList.FILLED, color_bg);
		sub_grids.addRectangle("U:ver2", 269, 25, 3, 102, CPaintList.FILLED, color_bg);
		                    
		//Down face         
		sub_grids.addRectangle("D:hor1", 202, 411, 102, 3, CPaintList.FILLED, color_bg);
		sub_grids.addRectangle("D:hor2", 202, 446, 102, 3, CPaintList.FILLED, color_bg);
		sub_grids.addRectangle("D:ver1", 234, 379, 3, 102, CPaintList.FILLED, color_bg);
		sub_grids.addRectangle("D:ver2", 269, 379, 3, 102, CPaintList.FILLED, color_bg);
		
		
	}