Implemented and Tested for 6 test cases and added specifications.