got rid of some recursive functions. changed BasicAutomaton.regex(String) to use pattern matching
Merge branch 'master' of https://github.com/bradengroom/scala-automata-library