InterviewBit Problems   Rook Movement : Solved