Vector Inner Product Computation - Coding problem | OneNoughtOne