adding working yoda functionality
Merge pull request #2 from cherrysoft/yoda

adding working yoda functionality