solve.rb provides answer to all problems