Random task generator