Amazon Interview Question

How would you code the leaning tower of pisa ?