Updated readme
Implemented functional program