Update Stats.java

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

Update Stats.java