Pairwise Matrix Product Computation - Coding problem | OneNoughtOne