Added corrected solution for task #1