A simulated TLB in C