basic implementation of growing neural gas algorithm