cast chess rook puzzle