Stores IPs sorted by access num into array. Added TODOs.