cleaned up ntime.c, todo: add code for arguments, fix time measurement