Update Part1.java

Split part 1 into part1 and part1ii