Linear probing refactor and comments