Use flag package
Add a -j flag for number of jobs
Add an -M flag for the AKS upper bound
Add a -cpuprofile flag for profiling