create stack using array 

create stack and use it to check balanced parentheses and add some unit test cases