improved functionality isLegalMove

- accounts for someone touching the other players piece
- black can move now that the condition returns false if a piece is empty.
(check isSameColour).