began implementing logic fixes

Test case now correctly gets 7 but it edits a cell that is already set
to a number.

TODO: add code that doesn't evaluate cells that aren't set to zero.