fixed test cases.
wrote another helper function and test cases.
wrote test case for move.
passes test_move(), but still a hack. More tests and refactoring ahead.
updated some comments.
Wrote another TestCase. 3/4 tests fail.