Adding README and test cases. Removing commented code.