Changes the program to use N=2^k instead of N=k.

k is the commandline input.