first attempt at optimal solution to fox & hen game strategy..prob3