Updated test cases for data structure and algorithms. Put test cases in comments.