#20; path_patterns.py / neighbours_pattern() fixed bugs found by testing.
#11, #20: Added tests of neighbours_pattern().