Added fenwick tree test.
Updated Fenwick Tree.
Updated pdf
Fixed tester.
Added some date functions.