Add COMPARATOR block
Change methods in redstone.c to be static
Fix redstone locking to check previous power
Add inital implementation of comparators (buggy)