Fix bug of setting join_time, complete_time and leave_time
Add function to print each peer's time usage of downloading all pieces