Update main.c

Return code must be zero upon successful completion. Nothing life threatening, but good practice nonetheless