manas agrawal's submission of Matrix | CodeChef