sample scripts to learn and practice algorithms