changed treeset to slightly more generic sortedset
Merge pull request #370 from karlmortensen/photorec_with_code_review_comments_implemented

Photorec with code review comments implemented