Fix syntax error in QueueMaker example

Parentheses were missing in if statment