refactor idea.rb to accept and return Idea as an object
refactor app.rb
fixed typo in idea.rb