Create Bracket checking using stack.cpp