more animal work

most importantly nearby lifeform and terrain methods
added a method to get the direction

the direction of a certain point relative to the animal, allowing it to
move in the proper way