Yello interview question

I had to analyze a simple class and write a couple functions to extend functionality.