private int decimalConvert(String binary)
	{
		
	 int result  = 0;
	 int powerOf = 5;
	 for(int i  = 0; i < binary.length();i++)
	 {
		 
		//result  += Math.pow(Integer.parseInt(binary.substring(i, i+1)), powerOf;
		 result += Integer.parseInt(binary.substring(i, i+1)) * Math.pow(2, powerOf); 
		 powerOf--;
	 }
	 
	 return result;
	}