以下の一行修正するだけでいいんじゃね。

boolean tokenMatching(String token1, String token2){
  if(token1.toLowerCase().equals(token2.toLowerCase())) //この行修正

実行結果
you are a student
You ? a Student
{?=are}
true