Added BoardEval and numberOfConnections

I added the BoardEval() method and numberOfConnections(), as well as
test code for both of them, and they passed all the tests that I added.
When hasValidNetwork is working, I will uncomment the part in
BoardEval().