typedef struct { int n; struct { boolean free; bed b; int priority } slots[nProcs] } queue;
int n;
struct { boolean free; bed b; int priority }
slots[nProcs]
} queue;