I am trying to repeat the pattern in the memory game simon before adding another step in the sequence, but I think the loop is being iterated through so quickly that every number in the sequence is calling setTimeout(function, 1000) at essentially the same time and then they are played simultaneously rather than one after another. Is there anyway to fix this?I am trying to repeat the pattern in the memory