public static int[][] rotate_right(int [][] matrix)
	{
		System.out.println("Rotating to right 90 degrees: ");
		int new_matrix [][] = new int [matrix.length][matrix.length];
		int z = 0;
		
		for(int i=2; i >= 0; i--)
		{
			for(int j=0; j<=2; j++)
			{
				new_matrix[j][z] = 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;
	}