#TODO 12 implement part 2 by yourself using memoization 13 calculate diffing lines, 0 for perfect mirror, 1 for smudged