added Kumar's changes
fixed bug in Arrays.List
Edited Client.java

Its now different from Worker. But I still get error from Worker while
running. Though Client seems to be fine.