Implementation of Formal Concept Analysis algorithm