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

fixed leave function to allow going E and W
Remove unnecessary part from if/elif statement