Solve problem15

Got lazy for bignum support, solved in python as I got bored.