created variable,if statements and for loop, Debugging loops

Having issues display the contact information correctly