Parser#parse() checks for EndToken (Closes #7)

This fixes strings like "3))" being accepted.