Update timer.hpp to fix declaration bug

It looks like end_time was not properly defined and thus caused a compilation error.
Merge pull request #85 from matusi143/patch-1

Update timer.hpp to fix declaration bug