The problem is when this valid moves function runs and goes through the 2 tuples it only ever appends the second tuple when both of the tuples should be appended as valid mo