Added validate move function in Board.java