primitive algorithm demo

little demo with txt files instead of db entries