Adding total level, total player and average level

Adding total level, total player and average level on each faction.

Adding line feed  and removing one tab on line 111 so the output will be properly generated.