added ForLoop and InfiniteLoop classes and reconciled them with parser