adding the ''return 0;'' in function main.
fixed typo