abstracted display() method to abstract Habitat class