add yaml require statement

`config = YAML.load_file f` will cause NameError otherwise
Merge pull request #4 from podshumok/patch-1

add yaml require statement