PR comment changes.

Add find_unreachable_goals helper
Add do_solve helper, renamed Self to Parent
Remove io:format
Correct whitespace error.
Replace filter with comprehension
Correct whitespace, comment
Replace filter with comprehension
Converted to named function
Remove commented out code
Add spaces after commas