Nana's submission of Matrix | CodeChef