Algorithm is tested on a small input file