music theory with Ruby