Oddman answered A pentagonal prism has those characteristics. In the figure, the vertices are numbered 0-9.