add Dequeue toString method and set private variables to protected

Set pointers and underlying array to protected so classes that extend
the Dequeue can access them.