debugged and AI is working now. Graphics need to be still worked on