Add autoteaching
Refactor the getNetworkSum function
Optimize the addBorder function
Refactor the getNetworkSum function
Refactor the loop function and add proper error handling
Add commit hash in version output