Testing StringStrictFitness with functions.
Refactored function code in main program to be easier to update with new functions.