removed the break when error gets low enough as it doesn't make much sense
reshufled the code a little, added a regenerate function. It\'s suboptimal, but who cares
added the smiley face (re)generator, although it doesn't seem to work well. Something must be off with the code...
Merge.
Setup module structure and so could remove unneeded sys path append.
Removed unneeded sys import.
Added testing scafolding.