repaired tournament adding. Added some statistics calculation