Moved diff to fns folder, since it is not game specific. Fixed bugs with diff function and added more unit tests. Wrote diffTracker.js to perform diffs over time.