Gauss Sum
Start
End
Calculate Sum