Knight's tour implementation using OpenMP for parallelization