public Token scan() throws IOException{
        while(currentChar == '\t' || currentChar == ' ' || currentChar == '\n' || currentChar == '{' || currentChar == '\r') 
            scanSeperator();
        currentSpelling = new StringBuffer("");
        currentKind = scanToken();
        return new Token(currentKind, currentSpelling.toString());
    }