getIndexFor: return -1 if key not found
Added some documentation
Spacing fixed
Removed commented-out usage of java.util.LinkedList