Simple task scheduler for demonstration purposes