My [incomplete] solution for Idio's task 1