Update Stats.java

New constructor for nullpointer prevention
Merge pull request #2 from Timtower/patch-2

Update Stats.java