updated neighbourhood javadoc
implemented swap neighbourhood