Added the buy and sell methods

Check to see if this is correct.