save functions for creating whitelist of loci and population maps independently

Before they were inside a loner script including the run commands
(whitelists.r) I have deleted it.