fixed syntax and improved buying and selling, selling contained huge bug in remove