Implemented avoidLosingGame. Added a "test-ai" to experiment with criterias