Added solution for task #1