updated module 1, upto algorithm specification