Add more check for Pascal's triangle II