Draw-a-grid

A solution to a problem from downey's book.