Update N queens program with set-cpu for vertical partitioning.