Complexity studies of firm dynamics