added buffer overflow protection + updated answers.txt