Added size(), returns the size of the stockList
Added code to save to XML file