Nim.java is my version of simple Nim for project A. Feedback is given by
the school's verification system.