create a constructor with items parameter for the Collection class
remove extra comma