math lib, sleep while printing