container/heap: split example into two

This adds a simple IntHeap example, and modifies the more complex
PriorityQueue example to make use of the index field it maintains.

Fixes issue 4331.

R=rsc, adg
CC=golang-dev
https://codereview.appspot.com/7068048

Committer: Russ Cox <rsc@golang.org>