Update solver code to be more function oriented
Update solver code to be more function oriented

JDSWalker/n-Queens_Problem,JDSWalker/n-Queens_Problem,JDSWalker/n-Queens_Problem,JDSWalker/n-Queens_Problem,JDSWalker/n-Queens_Problem