Bug fixes

Declared variable outside of for loop to get rid of the c99 errors.  Also added some \n to clean up the output.  Program crashes with segmentation fault when user enters input for playAgain