How to create the NXNXN Matrix Python 3 Program