Added command line way of specifying n and k

More of basic setup done