Added the unStack method to the main AI class so it can be used by other
AI classes later.