Update life.c

output coordinates to file example.txt for next using in web