-Start of layout : array - set size to 5x10x1
-for each element : array - set index (Array.CurrentX, Array.CurrentY) to array (Array.CurrentX*Array.CurrentY)
This will be:
+----------------------+
?X \Y?01?02?03?04?05?06?07?08?09?10?
?01? 1? 2? 3? 4? 5? 6? 7? 8? 9? 10?
?02? 2? 4? 6? 8?10?12?14?16?18?20?
?03? 3? 6? 9?12?15?18?21?24?27?30?
?04? 4? 8?12?16?20?24?28?32?36?40?
?05? 5?10?15?20?25?30?35?40?45?50?
+----------------------+
get value at (x,y):
array(1,5)==5
array(3,8)==24