Rewrite printboard.cpp