add solution for week 1 challenge