void analyze(String his, String myHis){
		//ammo analysis first
		for(int i = 0; i < his.length(); i++){
		  int hisAmmo = findAmmo(his.substring(0, i));
		  int myAmmo = findAmmo(myHis.substring(0, i));
		  boolean match = false;
		  for(Choice c : ammoAnalysis){
			  if(c.hisAmmo == hisAmmo && c.myAmmo == myAmmo && c.pattern.equals(his.charAt(i))){
				  match = true;
				  c.probability++;
			  }
		  }
		  if(!match){
			  Choice c = new Choice("Ammo", 0);
			  c.myAmmo = myAmmo;
			  c.hisAmmo = hisAmmo;
			  c.pattern = "" + his.charAt(i);
		  }
		} 
		
		
		//System.out.println("Analyzing");
	    char[] shortString = his.substring(1,his.length() - 1).toCharArray();
	    char[] longString = his.toCharArray();
	    for( int i = 0; i < shortString.length; i++) {
	      String pattern = "" + longString[i] + shortString[i];
	      for(Choice c : analysis){
	    	  if(c.pattern.equals(pattern)){
	    		  //System.out.println("Pattern = " + pattern);
	    		  c.probability++;
	    		  //System.out.println("Proba = " + c.probability);
	    		  
	          }
	      }
	    }
	  }