implemented selling stock method (not yet in UI)