Fix iterating user/private repositories code
mock -> double
include info about modes; update with commands from issue #1
Merge pull request #3 from tjmcewan/patch-1

include info about modes; update with commands from issue #1
set directory name based on mode