Updated code for new peer creation so that it sets the "hits" to the lower value got from the existing peers list or to 0 in case of an empty list. The code has been updated to check also that no duplicated peer could be created.