add solutions for 1-3 task