Added solution and notes.
Added part II.