Fixed race condition and tried to implement a brute force agent to compare AI against