Generating a kslider sequence, simon says help

Sammi Syse's icon

I am making a simon says game using the kslider in Max. I have most of it set up besides the main part, the sequence. I want the computer generated keyboard to play one note, then the player is to play the same note, back. After this, I want the keyboard to take that first note and tack on another and so on. I'm not sure how to set it up where the computer generates the random notes after one another. I have been playing with the coll/counter objects but I'm not sure if I'm using them right as the sequence doesn't continue to play back, even though it tracks it in the list.

My pseudo code if that helps make it more clear:
play one note
record it
have player play it back
test if it is the right note

play initial note + new note
record it
have player play it back
test if it is the right note
etc.....

Final 5.maxpat
Max Patch