added in a few more functions to queensProb