Splitting Code not working properly

A 64x64 array eats 4096 bytes of SRAM and your Uno has 2K.