Solve lexv problem. Rosalind website hangs when I submit solution