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
adjusted text fixed bug

fixed bug where victory was not properly displayed, added text to
clarify comparative hint " than last guess"
refactored further

added a compareVal function so now checkVal is only checking for valid
inputs and compareVal is generating difference and progress for
returnResults
refactored

feedback.get now handles editing the dom isValid handles a valid input,
compareVal handles finding how close the user is, returnResult handles
looking up the results of the guess
refactored code to logical format

modularized code now format is acceptable
Merge pull request #1 from drabinowitz/refactoring

Refactoring