Refactor code for returning a list of characters

Push code for determining which characters a user can view into its own private
function.