added test4.in. also implemented memoization for the nodes to reduce runtime of the recursive algorithm
Merge branch 'master' of github.com:hendychua/CS5222-Assignment2