Update scanner.c
Merge pull request #14 from srujank1/patch-13

Update scanner.c