chandan's submission of OR Matrix | CodeChef