C like struct in numba

@rpopovici to follow up on making things mutable, it seems to me that there’s a straightforward way to make the Interval example (and anything similar to it) mutable - however, I fear I may be missing some edge case or other issue, so I’ve created this thread with the addition to the example and a couple of questions in case it’s not as straightforward as I think it is.