This is the allocation algorithm with the use of some automations to be able to locate the Zeros. Prior Knowledge required to understand.
FILES EXPLAINED:
I used Processing software.
- The Txt file is the file I used to import into the program, this is to allow any numbers and therefore can be tested accordingly.
- The Pyde file is the processing extension and where the code is located.