added a riddle and added .class files to gitignore

I added a riddle and set the gitignore to ignore class files