Adding placing mines functionality