Finishes all chap 10 exercises. Refactors code and adds tests. Add js countdown