Added clock.py: what it says on the tin