fixed leave function to allow going E and W
Merge pull request #19 from ratmonkey/small_fix

fixed leave function to allow going E and W