got all test cases working
Updated readme