Added a primitive Moore state machine system. It will be refined later, but for now, it works and is editable with ease.