In a transaction that highlights the continued attraction of Times Square for tech industry firms, the software company 10gen is already exercising its option to expand at the historic former New York Times headquarters building at 229 West 43rd Street.