Fix some errors and refactoring.

Signed-off-by: Adrian Espinosa <aespinosamoreno@gmail.com>
Merge branch 'master' of github.com:aesptux/download-reddit-saved-images

Signed-off-by: Adrian Espinosa <aespinosamoreno@gmail.com>

Conflicts:
	README.md
	script.py