Added flee command and calculation

fixes #110