pass CLI arguments from run
implement heap sort. parse CLI arguments. format better.