add instructions to install deps on Mac OSX
use native operators instead of math.* functions
read input file and K value as command-line arguments
default input file and parsing script