Included an example yaml file for input. Fixed the i/o so it would read and write the yaml file correctly using SnakeYaml package