Added rdtsc function to ex2.c.