Update project.cpp

Added function to look for unmatched braces "()". If there are unmatched braces then it output the error, else it will return 0. Seems to work pretty well in my testing. The function will look for the order of the braces first, then checks if the number of braces matches.