Tired now. Basic structure is there, but for a couple tests that are failing. Getting a stack overflow error on the board traversal, and it looks like my filtering isn't working quite right.