Added an error method if trying to sell stock you don't have.
Tidied up formatting.