Update Shuffle.java

Dai this consist of both question no 3 and 4 grouped togther