peek method

T peek()

Returns element at top of stack

Implementation

T peek() {
    return _stack[_count - 1];
  }