Gather_Guesses_CPP function

Performs checks to gather a list of guesses and iterations