public void Store(String[] i,String j,String[][]k,int l){
	if (Arrays.asList(i).contains(j)){
	    int inputTrue= Integer.parseInt(j);
	    String thingName = k[inputTrue - 1][0];
	    int dollarSign = thingName.indexOf("$");
	    int start = thingName.indexOf(")");
	    int end = thingName.indexOf("-");
	    String priceS= thingName.substring(dollarSign + 1);
	    int price = Integer.parseInt(priceS);
	    String thingTrueName= thingName.substring(start + 1,end);
	    if (h.loseGold(price))
		System.out.println(noGold);
	    if (!h.loseGold(price)&& l == 0){
		h.toBuyW(thingTrueName);
		System.out.println("You have bought a " + thingTrueName);
	    }
	    else if (!h.loseGold(price) && l == 1){
		h.toBuyA(thingTrueName);
		System.out.println("You have bought a " + thingTrueName + "!");
	    }
	    else if (!h.loseGold(price) && l == 6){
		h.toSpell(thingTrueName);
		System.out.println("You have bought a " + thingTrueName + "!");
	    }
	    else if(!h.loseGold(price)){
		h.toItem(thingTrueName);
		System.out.println("You have bought a " + thingTrueName + "!");
	    }
	}
       
    }