Prediction of mates in shogi using SVM and its application