TRIM ERROR STOP SHOWING UP YOU GHOST

fixed an error that shows up when uploading max amount of prerequisites.
stupid hidden newline and carriage return characters.

and i also added function header to "scanPrereqs"