adding new python code: innerProd computes inner product of two same length strings