Added a string checker for the quit checker

if string input is > 5, then quit project