Fixing bugs and adding exercise copy.