fixed flip and added row and col numbers when printing board