peek method

dynamic peek()

Implementation

peek() {
  return this.nodes[0];
}