Update firstgame.c

correcting some compilation errors