Add the function to allocate 2d-array
Rename the variables
Place the copyright
Add license file