Update midterm.rb