Created AI spawning system. Could use improvements.