added C implementation of CPU simulation for a fair timing comparison