The goal here is to explore a simple algorithm that can be implemented more easily in z80
