THe third regression problem (Algorithms for biologists course)