I am new to c++ and learning Data structure, in the below code i am getting out of range warning do not understand what I am doing wrong please someone help.