Fixes code in isContinuous to move the piece, but move it back before returning whether the move will keep the board continuous.