Update main.pas

Life 6.2
[Optimization] Matrix now is array of boolean