trying to confirm parsing works by emptying an arraylist of tokens if they've been read correctly