Doc Strings added to functions
Some test cases added but with errors