added moving method, passing tests
Merge pull request #30 from milktrader/moving

added moving method, passing tests