added query for problem 2- matrix multiplication