strategy factory returns strategy function pointer given a string.