Update main.c

changed terminal to systerm