Multithreaded program written in ANSI C that generates magic squares using a simple evolutionary algorithm