Linear probing implementation