my algorithm library..