public static Spell search (String spellName)
      {
        Spell closestMatch = null;
        int distance = -1;
        for (Spell s : Spell.values())
          {
            int d = Levenshtein.getDistance(spellName, s.getName());
            if (d < distance || distance == -1)
              {
                closestMatch = s;
                distance = d;
              }
          }
        return closestMatch;
      }