began working on dietChecker() function