Create nlcen_n.py

Code for size nxn