creating rank method to show teams classification
comparison between two teams