public void Run () throws InvalidFileFormatException, IOException
	{	
		// Menu actions
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		System.out.println("List action: ");
		System.out.println("1. Go to Angry Bird");
		System.out.println("2. Action Robot");
		System.out.println("3. Visualization");
		System.out.println("4. Load Level");
		System.out.println("5. Testing solve function");
		System.out.println("6. Testing Evaluation");
		System.out.print("Enter action: ");		
		String s = "";		
		while ( (s = br.readLine()) != null)
		{
			switch (s)
			{
			case "1":
				if (!gameOn)
				{
					openWebpage (new URL("http://chrome.angrybirds.com/"));
					aRobot = new ActionRobot();
					gameOn = true;
				}
				break;
			case "2":
				if (!gameOn)
				{
					aRobot = new ActionRobot();
					ActionRobot.GoFromMainMenuToLevelSelection();
					gameOn = true;
				}
				break;
			case "3":
				ShowSeg.useRealshape = true;
				Thread thre = new Thread(new ShowSeg());
				thre.start();
				break;
			case "4":
				System.out.print("Enter Level: ");
				String level = br.readLine();
				aRobot.loadLevel(Integer.parseInt(level));
				break;
			case "5":
				//PhysicsSolve();
				//Solve ();
				System.out.print("Enter id 1: ");
				String id1 = br.readLine();
				System.out.print("Enter id 2: ");
				String id2 = br.readLine();
				TestPhysicsSolve(Integer.parseInt(id1), Integer.parseInt(id2));
				break;
			case "6":
				System.out.print("Enter id: ");
				String id = br.readLine();
				_Solve(Integer.parseInt(id));
				break;
			}
			System.out.print("Enter action: ");
		}
		
	}