Added implementation of another routine in the Thread-State class

This is a small function that generates an array of parent space
indexes. This array is used for quick identification of parent LPUs.