basic/cat: fix formatting of code
basic: move cat.go to dog.go

dog is a better name for a cat clone.