Added SingleThreadScheduler solution.