Add timer() and usleep()

- timer() gets value of the timer counter
- usleep() delays for a given number of microseconds