simplified readFile
implemented Fast algorithm
refactored - can only submit the 3 source files
refactored api to be acceptable to the auto-marker. impossible to do TDD
this way! all tests broken...