Changed game4 to NIM, but not finished yet.