refactored code

refactored hints into a jagged array, querying array but results from
checkVals, checkVals now encompasses checking previous values, removed
closure variables within feedback