Complete some helper function for isLegal()
Complete some helper function for isLegal()

possibleQueenMove and possibleKnightMove have been completed.
possibleBishopMove received a bugfix.

jupiter24/web-chess,jupiter24/web-chess,jupiter24/web-chess,jupiter24/web-chess