Update PathSum.java

Submission Result: Runtime Error

Last executed input:	{}, 1