Implemented comprehension block resolution successfully. Need to fix up its scoping