MusicTheory exam rewritten with Ruby on Rails