Update main.pas

Life 6.3
[Optimization] Massives no more matrix, massives now global variables.