Initial commit of "midterm" folder containing the assignment

doesn't fulfil all the requirements for the midterm assignment yet....
@shirren I was trying to follow a "listener" style approach, as with jQuery's .on style handlers. I'm sure there's a better pattern in Ruby/Rails which you can hopefully teach us.