think k==2 works, uploading to github to clone into clear to run the
test code