added solution to part1, updated instructions