Removed do block from problem 1.
Added problem 2.
Re-implemented problem 1.