For Loop Recognition

Not fully implemented P stack code for the For loop~