Solution to the 8 Queen problem