bug npe in scope exception fixed
for declaration check almost done (declaration & comarison done, inc/dec missing)
for declaration seems to fully work (todo: test cases)