Implemented team ranking system