public static void startGameOfLife(boolean drawPoints, GameOfLife game){
		StdDraw.setCanvasSize(512, 512); // Adjust the size of the window
		StdDraw.setBorder(0); // We added this function ourself in order to adjust the border size
		StdDraw.setPenRadius(1/n);

		int livecells = 0;
		for(int i = 0; i<n; i++){
			for(int j = 0; j<n; j++){
				if(game.toArray()[i][j]==1){
					StdDraw.point(i,j);
					game.toArray()[i][j] += livecells; 
				}
			}
		}

		//int[][] a=  nextState(game.toArray());
		for( int k = 1; k <500; k++  ){
			StdDraw.show(50);
			StdDraw.clear();
			int[] [] a = nextState(game.toArray());

			for(int i = 0; i<n; i++){
				for(int j = 0; j<n; j++){
					if(a[i][j]==1){
						StdDraw.point(i,j);
					}
				}
			}
			StdDraw.show(50);

		}
	}