aman agarwal's submission of Intersection Matrix | CodeChef