Added calculation of winner based on number of hits and passing it to template.