finished basic implementations for CubicBoard class, contains some problems, though