Added solution for task #4
Added solution for task #5