Adding a method to write MINTERM file to disk

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>