Added attachTimer function for visual countdowns.
Fixes #40.
Added attachTimer example.