Loop are now regognized
Working with scala reg exp, tests pass
Adding method body
Implementation with numbers; corrected position bugs and infinite loops
Corrected more bugs
Working version.