sitting as a court for county purposes, and to punish any and every person for contempt as the judges of the superior courts of this state now have."