An algorithm for generating personalized learning processes based on the relation between learning items and its improvement