Made changes to ItemViewController.m and RequiredViewController.m regarding to the counting of the contents of array, used const variable instead