I am new to chess and so have been utilising the lessons and tactics of chess.com. I seem to have come across a point where the computer wants me to move my pawn diagonally into a spare square which removes the opposite pawn which was adjacent to me. Is this an actual chess move?