tiny portable algorithm library