Implementation of optimized bitwise nqueens algorithm as Java UDFs for Hadoop