Trying to tell between expression statements and variable declarations in Scanner