  public static void main(String[] args) {
    Auction auction = new Auction();
    new Thread(new Runnable() {
      @Override
      public void run() {
        try{
          auction.auction(2000);
        } catch(InterruptedException ie) {
          throw new AssertionError(ie);
        }
      }
    }).start();
    Random random = new Random(0);
    for(int i = 0; i < 10; i++) {
      int value = random.nextInt(10_000);
      new Thread(new Runnable() {
        @Override
        public void run() {
          try{
            System.out.println("My bid: " + value + " and highest bid: " + auction.bid(value));
          } catch(InterruptedException ie) {
            throw new AssertionError(ie);
          }
        }
      }).start();
    }
  }