Update Gameboard.java

changed isValid to return false for replace moves