"The council was also bound to keep hogs, dogs, cows and other animals from running at large; to prevent the riding and driving of horses or other animals at an improper speed, and to prevent the playing of marbles or throwing stones in the streets." . . . .