Section 2. Fences four feet high, in good repair, constructed of rails, timber, boards, iron or stone, and brooks, rivers, ponds, creeks, ditches and hedges, or other things which the fence viewers consider equivalent thereto, shall be deemed legal and sufficient fences.