Between Two Sets Hackerrank Solution Python