create move method for SlidingPieces class