Implemented marking zones (z) and writing marked zones to the output
file. Also added new argument (-o) to specify output file and redirected
prefix printing from stdout to the output file.