used less tests to determine direction score
added maxValue()
AI statistics