I now have a working nim game