Text this: Wiener and Hyper-Wiener Indices of Polygonal Cylinder and Torus