Added more general implementation.
Started adding code to test for correct Board functionality