improved pig scripts
added simple java file to create 'summation from x to y' calc