Going to bed.
Working redundant function according to doctests
Passing redundant patterns unit test