Added comments and updated formmatting
Refactored standings code