Removed the debugging information and cleaned up the code style.
Refactored numItems to more descriptive buffer_length. Added a position to success output.
Changed line endings to unix.
Pulled the find in buffer logic into it's own function and setup the sliding window.
Removing more cruft from search. Adding docs to findInBuffer().