Determine whether given string of parentheses is properly nested.