Cube counting! Debouncing! Etc.!

also set up all the vars needed for I/O with the NXT protoboard, but not
all the data vars (only cube count)