implemented buy command

see title
Handle buying non-existent items
Merge pull request #40 from deontologician/JasonBuy

implemented buy command

closes #29