added algo 1 & 2
added algos
added code to design page, modified app.py, added code-prettify