Implemented arduino's micros() function