public static void main(String[] args) {	
		
			Oak object = new Oak();
			while(true)
		{
			object.menu();
		Scanner scan = new Scanner(System.in);
		System.out.println("Input menu");
		int input = scan.nextInt(); 
		 switch(input)
		{
	    
			case 1:
			{
				object.addOak();
				break;
			}
			case 2:
			{
				object.showOaks() ;
				break;
			}
			case 3:
			{
				object.editOaks();
				break;
		}
			case 4:
			{
				object.removeOak();
				break;
				
			}
			case 5:
			{
				object.sortOaks();
			break;
			}
			case 6:
			{
				object.writeFileOaks();
				break;
			}
			case 7:
			{
				object.readFileOaks();
				break;
			}
			case 8:
			{
			return;	
			}
			
		}
		
		
		}
	
		
	
	}