nimGame for a school groupwork project