refractor engine.hpp
refractor next_move.hpp
add end_condition
add ostream support