Merge pull request #2 from cflee/avoid-npe

Refactor to avoid exceptions
Add .gitignore

Ignore /testcases/yours/* as they are autogenerated on run
Ignore /classes as they are autogenerated on compile
Remove files in testcases/yours/
Refactor total++ that is in both if and else
Change usage message

- New class name
- New URL format