added code to draw prey; updated AI so that it only flees if player is within a certain range