Initial commit of messy but working prototype
Major code refactoring, (hopefully) without breaking anything
Added wait function when clock is too fast

In case the movement is too fast, it's sometimes better to wait
instead of stepping all round the clock. To calm users, comfort
step is inserted every 10 seconds while waiting (which makes the
calculation wait time calculation recursive :) )
Reimplement timetowait using sum of infinite sequence