modified output for multiply.py in coursera assignment 3