I changed buyBlock,buyBomb,buyRobot into one function as buyTool