[Tournament Selection]: Fixed possible undefined behaviour
[Tournament Selection]: Fixed possible undefined behaviour

Fixed possible undefined behaviour in the GetParent method of
TournamentSelection - if it runs out of array before it picks both
parents, it tries again until it gets it.

Signed-off-by: Sebastian Lenartowicz <82628b08c690d7b843f293282c58895740bc10b7@uoguelph.ca>

NGTOne/libHierGA