added ability to move forward and backward
Merge pull request #28 from sjafri5/new-logic

added ability to move forward and backward