Fixed valid move method and implemented piece flipping