Added fitting_persons_to_the_hospitals function