Change core.py to start counting line number and position from 0
Merge pull request #1 from allenplusplus/zero_based_numbering

Lexer line number and position now start from 0 instead of 1