Fix bug in moveInDirection & add test
Merge pull request #109 from hammerlab/move-in-direction

Fix bug in moveInDirection & add test