Created new dog class with no-arg constructor.