write_unapproved_functions function

Formats and returns a vector of unapproved functions