added test cases and better readme
adding .gitignore