Add requirements and sampe code to readme