w6

add Week6 algorithm's