/** * Utility functions for calculating the maximum number of Hacknet upgrades the player * can purchase for a Node with his/her current money */