Add functions to flip and rotate bitboards