İ am trying to control lack of brackets by using stack data structure When input is "()", no problem but if input is "( )" i get output "right brack