Added printOption and modified printDetail for doubleArray.java and move...

...d switch statement between if(args) statement and modified it a bit