updated readme with input and output