public void VM(Villain v){
		//try {
			 
	      //  while (!win) {
			
		int ranNum = (int)(Math.random() *4) +1;
		System.out.println(ranNum);
			if(ranNum == 1){
				if(!m.getMap(v.getVillainX(), v.getVillainY() - 1).equals("w") )
					v.villainMove(0, -1);
			}
			if(ranNum == 2){
				if(!m.getMap(v.getVillainX(), v.getVillainY() + 1).equals("w") )
					v.villainMove(0, 1);
			}
			if(ranNum == 3){
				if(!m.getMap(v.getVillainX() - 1, v.getVillainY() ).equals("w") )
					v.villainMove(-1, 0);
			}
			if(ranNum == 4){
				if(!m.getMap(v.getVillainX() + 1, v.getVillainY() ).equals("w") )
					v.villainMove(1, 0);
			}
		//	Thread.sleep(2 * 1000);
	        }