Added working version and updated README