Finished Binary Search Tree and nQueens.