cleaned up some code, FIXed ai.rb