added option for number of pages, formatting of output
substitute slash with __ in outfile for case of reddits subreddit/new
minor formatting changes
minor formatting changes