Binary indexed tree

Problem:http://www.codechef.com/problems/SPREAD/

Signed-off-by: anish kumar <anish198519851985@gmail.com>