Optimized searching. Added locate program. Updated gititnore.
Updates.