small change to algorithms.py to count barometers better
Adding writing output to file each time a search is executed
Remove obsolete generate_data function
adding logic for non-interactive mode