Small Array Big Array Game Hackerrank Solution For Python