Update main.c

Return code must be zero upon successful completion. Nothing life threatening, but good practice nonetheless
Merge pull request #2 from omtinez/patch-1

Update main.c, change return value to 0