Two or more counties may join in building or purchasing an almshouse in common, at a place agreed upon by the boards of chosen freeholders of the counties, and which when built or purchased, shall be under the joint direction, superintendence and government of such boards, which boards may:
N.J.S. § 44:2-3