Sum Of N Natural Numbers In Java