Update source.c

Added function to remove punctuation before comparing strings.