Moved the classes into a package and ready JUnit testing.
add JUnit test for toString method in TextFile.java
add tests for clear() and add() in TextFile.java
Add sort() method in TextFile.java, added it's relevant test
case(fails). Refactored the JUnit code a bit.
pass the first sort() test case
Renamed some final Strings in the JUnit test file to better reflect
their purpose. Added new test case for sort(), which passes.
added third test case for sort(), which passes
New method search() in TextFile.java. Test case for that method written,
test case passed. Some final variables in test suite renamed to better
reflect their purpose.
Spelling error corrected in test suite. New test case added for
search(), which fails.
pass the 2nd test case for search()
wrote 3rd test case for search(), which passes.
Modified strings in test suite for search() to better reflect what is
needed. Test fails.
pass the modified test cases for search()
Wrote 4th test case for search(). Fails.
Pass 4th test case for search()
added 5th test case for search(). Passes.
changed some public methods to private ones as they had no reason to be
public methods
Added search and sort functionality in the main class