Accommodating for main

Added stack in division to replace array of teams
edited corresponding methods
works in accordance to my last commit