made counter for list elements, started writing findOVerlap function