Fixed the StockCount property by making it change a private field instead.
Program now fully functional.