added error checking when removing an opponent piece. Only accepts valid
entries.