now spawns food randomly at a given interval