Added draft of congeneric intervals manager.

And added method for searching of all indexes of some element in array.