Added the base for Nim game