Pregunta de entrevista de think-cell

To see the full problem description and its solution, google "github robjinman thinkcell_test" (without quotes). Basically, you have to implement the assign method of an interval_map class.