add debugging code
show some progress while running
add compress2 function
make compress() more efficient
add grid_to_file
400: outputs correct, need to add plinks
grid_to_file needs to include the newlines
500: outputs correct, need to add plinks