Rewrote logic

Stores data in vectors, bitsets and maps.
Test code in for the render, not implemented.
Automaton is now a class!
Whitespace prediction

I couldn't quite get this to compile, and haven't done any runtime testing.