Making the AI heirarchy vector based, rather than node pointers