FINAL version of foodqueues.m (hope so :D)