Added extract_loci function to the krpipe module. Changes in other files were made accordingly, to make this function work.