Rewrite hexboard.cpp, hexboard.h