add doctests
add doctest to PMTimer class
use larger or equal
add a simple heap queue wrapper