Fixed errors in task 2 and added test cases
Fixed errors in task 2 and added test cases
Fixed errors in task 2 and added test cases