Minor formatting and error handling updates

-added try/except exception handle blocks
-updated function name findMutationFunction(...) => mutate(...), to
clarify role.
-added TODO comment in crossover function
-minor formatting to improve readability