created animal class

Created animal class to be used for inheritance.