impl Board for 8-puzzle problem