Python shell script that serves common algorhitms