first stage success! bugs left to be fixed
fixed a known bug
removing unused and debugging code
mAtomify removed
added string conversion for Pattern
main added