Added more test cases
Added a gitignore
Added tests for derivative functionality
Implemented a derivative function