The Development of Logic