Added logic write access to sprites.
Moved input into sprite classes.
Board and accumulators now add blocks on clicking.
Added a state machine class and applied it to Block_sprite.
Block_sprite as a state machine.