     }
 }
 
-class Horse : Animal {
-    override init (name : String) {
+class Horse: Animal {
+    override init(name: String) {
         super.init(name: name)
     }
     

    }
}

class Sheep : Animal {
    override init (name : String) {
        super.init(name: name)
    }
    

    }
}

let h: Animal = Horse(name: "CJ")
assert(h.speak() == "CJ says neigh")
let c: Animal = Cow(name: "Bessie")
assert(c.speak() == "Bessie says moooo")
assert(Sheep(name:"Little Lamb").speak() == "Little Lamb says baaaa")
