printing the whole board without complete condition