Added euler 51 in python