Changed duration unit to microseconds.
Added controlling through commandline

Can give flags to control program flow. Easier to get program output for
different exercises. Should work correctly but had some weird errors
where if-tests werent behaving correctly.