Implemented input and output

and add barbara and lena for test images.
Merge branch 'rmaster'

Readme.md is created on github.