implemented buy and sell

buy and sell work. Still have to set boundaries