change the return value of possibleMoves function (vector<pair <char, char> >)