Update tasks.cpp

Replace tabs with spaces.