Adds visitor for traversing parsed blocks

Issue: #32
Adds block return detector

Issue: #32