Adding problem 19 and 20.
Cleaned up timing code