Added a method to check the next token.

This is used for example to check lines such as
  int n = readLine;
or
  println n;
or
  int n = readLine;
or
  println(n;
etc.

Fixes Issue #9.