Created addCase method and added typicality field to createCaseStruct (initialised to 0)