Prateek Jhunjhunwala's submission of Matrix | CodeChef