Created function to calculate stings

Created function to calculate how many stings it would take to kill an
animal. Added return statement to return the result from the function.