@@ -0,0 +1,514 @@
+package commands;%0A%0Aimport java.util.Queue;%0Aimport java.util.concurrent.LinkedBlockingQueue;%0A%0Apublic class CommandsQueue implements ICommand %7B%0A%0A   CommandsQueue() %7B %0A%0A   %7D%0A    %0A  private Queue%3CICommand%3E commandsQueue = new LinkedBlockingQueue%3C%3E();%0A%0A  @Override%0A  public void execute() %7B%0A      for(ICommand command : commandsQueue) %7B%0A          command.execute();%0A      %7D%0A  %7D%0A   %0A   public void addCommand(ICommand command) %7B %0A       if (command != null) %7B%0A           commandsQueue.add(command);%0A       %7D%0A   %7D%0A    %0A%7D%0A

Implement sequencing for commands