Fixed segfault, project nearly done

Fixed segfault that was caused by line parameter in data_helper not being consistently the same in every function. Need to fix the food Items so that the last word is not repeated.