[MinMax] simple routine to compute min/max of 3 samples using the least amount of compares
[Spiral] Walk thru a board reading tiles in the spiral order
[CheckSet] in a vector of N integers, checks that all the numbers between 1 and N appear