The findAllPossible() function now works as tested in the unit test.