attempted to removed some bugs - some whitespace issues may have been introduced
grader works for both file and url
Tidied up functions - pretesting.
tested and good to go