private static int [][] rotate_left(int[][] matrix) {

		System.out.println("Rotating to left 90 degrees: ");
		int new_matrix [][] = new int [matrix.length][matrix.length];
		
		
		for(int i=2; i >= 0; i--)
		{
			int z = 2;
			for(int j = 0; j <= 2; j++)
			{
				new_matrix[z][i]=matrix[i][j];
				z--;
			}
			
		}
		
		
		for(int i=0; i < new_matrix.length; i++)
		{
			for(int j=0; j<new_matrix.length; j++)
			{
				System.out.print(new_matrix[i][j]);	
			}
			System.out.println();
		}
		return new_matrix;
	}