Update main.c

Added function pro to-types... should have been done a long time ago.