spaces in output, not tabs
assignment 4 - frequency