Added cputest.c

This is ready to be added.