added a function for predicting a single move.