refactored AI Logic to return coordinates or false
Merge pull request #2 from daino3/refactoring

refactored AI Logic to return coordinates or false