Added timer.h
fixed rwbuf
Merge pull request #7 from atran046/master

Added timer.h