public function append($road) {
        if (!in_array($road->getName(), $this->priorityQueue)) {
            $this->put($road);
            array_push($this->priorityQueue, $road->getName());
        }
        return $this;
    }