Added 1-arg constructor to Dog class.