test all_moves function
abstract internal board representation for outputs