added board::flip method