I apologize if this is too much code to post, I will delete this if that it is the case. My code below compiles and runs fine but I am unsure if I am allocating memory in the co