Fix syntax error in QueueMaker example

Parentheses were missing in if statement