did some work on python algorithms prim and palindrome_product