Use periods for dead squares so that the grid is more obvious
Silenced some compiler warnings
Corrected the calculation of corner writing masks
Added a simple script file to test with.

  Run like this: `./lifesigns < test.sign`