Representation and Formation of a Structure of Concepts -- a Graph Theory and Neural Network Approach