Got isLegalForRook to work