Hackerrank: service_lane code updated