Updated doc strings, and helper functions

Updated doc strings to reflect what each helper function does. Changed
return statements to output True or False back to main function. Main
program outputs list of strings