Updated readme
Adding the functional code