Between Two Sets Hackerrank Solution C