capture fix

minor bugfix:
capture now checks if there's a piece of the opposite color to be
captured.