Goal-Directedness, Behavior And Evolution: A Philosophical Investigation