Added a static function to PedFile

- it allows the creation of a pedFile object from a Map<String,Sex>.
- added a test