Edo — what we now know today as Tokyo, Japan — was a thriving city with an estimated population of one million, half townspeople and half samurai. With a…