Fixed bugs which prevented execution
added Readme