Heavy refactoring to make everything more flexible

Not using global static variables anymore, instead created class
Sequitur that represents an instance of the algorithm that hold member
variables instead.

SequiturPanel encapsulates the UI part