fixed get neighbourhood error, was all in base two, now accepts k parameter