Changed bool array to char to solve 8 Queens