Various implementations of the NQueens Problem