Dynamic competitive learning applied to the clone detection problem