Update index.php

added new function SUM values