updated readme with code