a solution for part one
updated the solution for part one
Merge branch 'part1' into part2