adding code
rewritten readme. changed variable declarations