first cut at vector_subrange
fixing a bug in end()