Python program to find the solutions to the popular word problem 4 Pictures 1 Word