added functionality to addDog()

I can't get visual studio to sync this (it says there's an unresolved conflict, but I can't find it), so I did it manually on github