Added instructions. Fixed bugs.