Created _apply_projection function to help writing
MINTERM files during iterations

Removed whitespaces in the write_minterm_File function

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