AI not working, Should check vector and/or change to lists in freeSpaces.