Rosalind IPRB solution