add dob method to animal.rb