Removed unused function.
Added duplicates directory in case of picture collision.
Program can be run anywhere, without a base directory specified.
Directories automatically created if they don't exist