changed the integer_product function according to the comment
Removed the comments
Same algorithm but less code