changes to issues commented
finished sell function
Merge pull request #6 from GarrethDottin/refactored-code

Refactored code